package com.aifund.orderservice.service;

import com.aifund.common.entity.AiUserBindExchange;

import java.util.List;

public interface UserBindExchangeService {

    /**
     * 获取用户交易所绑定
     * @param userId
     * @param exchangeId
     * @return
     */
    AiUserBindExchange getUserBindExchange(Long userId, Long exchangeId);

    List<AiUserBindExchange> getAllByUserIdAndExchangeId(Long userId, Long exchangeId);

    Long getUserIdByApiKeyAndExchange(String apiKey, String exchange);

}
